<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ page import="com.hmsm.sys.po.UserInfo"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	UserInfo user = (UserInfo) session.getAttribute("user");
	int userId = user.getPkId();
%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>修改密码</title>
	<link type="text/css" rel="stylesheet" href="../<s:property value="#session.themeStyle.mainCss" default="Skin/PM/LightBlue/main.css"/>" />
</head>
<body>
	<div class="navBar">
		当前位置：个人信息&gt;&gt;修改密码
	</div>
	<s:form theme="simple">
	<div class="content editBlock">
		<input type="hidden" id="userId" value="<%=userId%>" />
		<table class="inputTable">
			<tr style="height: 50px;">
				<th colspan="2">
					修改密码
				</th>
			</tr>
			<tr>
				<th style="width:30%;">
					<strong style="color: #000000;">当前密码：</strong>
				</th>
				<td style="background-color: #fff">
					<div class="input_div">
						<input id="old_pwd" type="password" maxlength="20" style="width: 100%; font-size: 14px; border: 0px;" value='' />
					</div>
				</td>
			</tr>
			<tr>
				<th>
					<strong style="color: #000000;">新密码：</strong>
				</th>
				<td style="background-color: #fff;">
					<div class="input_div">
						<input id="new_pwd" type="password" maxlength="20" style="width: 100%; font-size: 14px; border: 0px;" value='' />
					</div>
				</td>
			</tr>
			<tr>
				<th>
					<strong style="color: #000000;">确认密码：</strong>
				</th>
				<td style="background-color: #fff;">
					<div class="input_div">
						<input id="confirm_pwd" type="password" maxlength="20" style="width: 100%; font-size: 14px; border: 0px;" value='' />
					</div>
				</td>
			</tr>
			<tr style="color: red;">
				<th>
					<strong style="color: #000000;">提示：</strong>
				</th>
				<td id="message" style="text-align: left;">
					<s:property value="message" />
				</td>
			</tr>
		</table>
	</div>
	<div class="toolbar" style="text-align: center;">
		<a class="but39" onClick="checkConPWD()" style="text-decoration: none;">保存</a>
	</div>
	</s:form>
	<script src="../js/jquery.js" type="text/javascript"></script>
	<script src="../js/store.js" type="text/javascript"></script>
	<script src="../js/MD5.js" type="text/javascript"></script>
	<script src="js/userInfo.js" type="text/javascript"></script>
</body>
</html>